package com.ly.mpayment.persist.service.downproductlog;

import java.util.Map;

import com.ly.mpayment.persist.entity.DownProductLog;
import com.ly.mpayment.persist.entity.DownShopProduct;
import com.ly.mpayment.persist.entity.User;
import com.ly.mpayment.persist.hibernate.Page;

public interface IDownProLogService {


	public boolean addDownprolog(DownProductLog log);

	public boolean updateDownprolog(DownProductLog log);

	public DownProductLog findById(String id);

	public Page<DownProductLog> findPageDownprolog(Map<String, Object> parameters,int start,int pageSize);

	public boolean addLog(DownShopProduct product, User user, String downName, String upName);

	void deleteLog(DownShopProduct product);
}
